-- update statistics script

\connect pcweek

select 'starting update statistics run' as message, time(CURRENT_TIMESTAMP) as time;
connecting to new database: pcweek
message                       |time    
------------------------------+--------
starting update statistics run|10:56:52
(1 row)

vacuum analyze;
ERROR:  Can't create lock file.  Is another vacuum cleaner running?
	If not, you may remove the pg_vlock file in the /dbdata/pgsql/base/pcweek
	directory
select 'finished update statistics run' as message, time(CURRENT_TIMESTAMP) as time;
message                       |time    
------------------------------+--------
finished update statistics run|10:56:53
(1 row)


\q
